package cn.kgc.mst.controller;

import cn.kgc.mst.service.UserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @author 韩
 */
@Controller
public class UserController {

    @Resource
    private UserService userService;

    @RequestMapping("/query")
    public void queryUser(){
        userService.queryAll();
    }

}
